//
//  IdentityComputingStrategy.m
//  CocoaSynth
//
//  Created by Jérémy Brault on 06/02/10.
//  Copyright 2010 None. All rights reserved.
//

#import "IdentityComputingStrategy.h"
#import "Sample.h"

@implementation IdentityComputingStrategy

#pragma mark -
#pragma mark Accessors

@synthesize module;

#pragma mark -
#pragma mark Memory Management

- (id) init
{
	if (self = [super init]) {
		module = nil;
	}
	
	return self;
}

- (void) dealloc
{
	[module release];
	module = nil;
	
	[super dealloc];
}

#pragma mark -
#pragma mark ComputingStrategyProtocol

- (id<SampleProtocol>)execute
{	
	return [module inputSample];
}

@end
